package com.ewei.web.common.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
/**
 * exception view object
 * @author David
 *
 */
@JsonInclude(Include.NON_EMPTY)
public class ExceptionVO extends ResponseVO{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1103962430500348409L;
	private String exceptionClass;
	private String exceptionMessage;
	private String exceptionMethod;
	public ExceptionVO(){
		//empty no parameter
	}
	public ExceptionVO(String clzName,String exceptionMsg,String exceptionMethod){
		this.exceptionClass = clzName;
		this.exceptionMessage = exceptionMsg;
		this.exceptionMethod = exceptionMethod;
		this.status = "88888";//错误码
	}
	public String getExceptionClass() {
		return exceptionClass;
	}

	public void setExceptionClass(String exceptionClass) {
		this.exceptionClass = exceptionClass;
	}

	public String getExceptionMessage() {
		return exceptionMessage;
	}

	public void setExceptionMessage(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
	}

	public String getExceptionMethod() {
		return exceptionMethod;
	}

	public void setExceptionMethod(String exceptionMethod) {
		this.exceptionMethod = exceptionMethod;
	}
}
